﻿bindrepList(city_dw);

loadCityName(city_dw);

$("#searchlistcity a").click(function () {
    areadis = "-1";
    $("#filmareadis").text("所有城区");
    city_dw = $(this).attr("id");
    loadCityName(city_dw);
    bindrepList(city_dw);
    loadCimemaShowL(city_dw, areadis, dayflag, sort);
});

$("#PhoneMsg").load("/xmldata/bingdianhtml/ajax_NoteComm.html");

$("#dayflagselect>li").click(function (i) {
    dayflag = $("#dayflagselect>li").index($(this));
    var dayname;
    if (dayflag == "0") {
        dayname = "今日";
    }
    else {
        dayname = "明日";
    }
    $("#dayf").text(dayname);
    loadCimemaShowL(city_dw, areadis, dayflag, sort);
});

$("#sel-sort>a").click(function () {
    $(this).addClass("sel-sort-on").siblings().removeClass("sel-sort-on");
    sort = $("#sel-sort>a").index($(this));
    loadCimemaShowL(city_dw, areadis, dayflag, sort);
});

$(".sel-inputnew").each(function () {
    $(this).mousemove(function () {
        $(this).children(".selbox").show();
        $(this).children(".selboxA").show();
    }).mouseout(function () {
        $(this).children(".selbox").hide();
        $(this).children(".selboxA").hide();
    })
});

LoadCityDis(areadis);

loadCimemaShowL(city_dw, areadis, dayflag, sort);